<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<script type="text/javascript">
	function fullPath(relativePath){
		return '<c:url value= "/'+ relativePath +'"/>';
	};
</script>

<script type="text/javascript">
    var roles = new Array();
    <c:forEach items="${roles}" var="role">
        roles.push('<c:out value="${role}" />');
    </c:forEach>
</script>

<script type="text/javascript" src="<c:url value="/themes/blue/script.js"/>"></script>

<script type="text/javascript" src="<c:url value="/ext/adapter/ext/ext-base.js"/>"></script>
<script type="text/javascript" src="<c:url value="/ext/ext-all.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext/src/locale/ext-lang-es.js"/>"></script>

<script type="text/javascript" src="<c:url value="/js/ext/src/ux/plugin/PagingToolbarResizer.js"/>"></script>

<script type="text/javascript" src="<c:url value="/js/ext/src/ux/form/ObjectComboBox.js"/>"></script>



<script type="text/javascript" src="<c:url value="/js/ext/src/ux/form/ImageFormPanel.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext/src/ux/ImageModelPanel.js"/>"></script>

<script type="text/javascript" src="<c:url value="/js/ext/src/ux/AbstractImageDataView.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext/src/ux/ImageDataView.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext/src/ux/ModelImageDataView.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext/src/ux/AlbumPanel.js"/>"></script>

<script type="text/javascript" src="<c:url value="/js/ext_defaults.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext_data.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/ext_util.js"/>"></script>

<script type="text/javascript" src="<c:url value="/js/script_default.js"/>"></script>

<c:forEach items="${items}" var="item">
    <script type="text/javascript" src="<c:url value="/js/${item}.js"/>"></script>
</c:forEach>

<script type="text/javascript">
Ext.BLANK_IMAGE_URL = '<c:url value="/ext/resources/images/default/s.gif"/>';
</script>